

#include "DSP280x_Device.h"     // DSP280x Headerfile Include File
/*

void Sensor_Write_Rom()
{
	Uint16 i,y = 0;
	Uint16 WriteBuf_sen[72];

		for(i = 0,y = 0; i < 9 ;i++)
		{
			WriteBuf_sen[y++] = (L_Sensor.sen_table[i] >> 0) & 0xff;
			WriteBuf_sen[y++] = (L_Sensor.sen_table[i] >> 8) & 0xff;
			WriteBuf_sen[y++] = (R_Sensor.sen_table[i] >> 0) & 0xff;
			WriteBuf_sen[y++] = (R_Sensor.sen_table[i] >> 8) & 0xff;
			WriteBuf_sen[y++] = (LF_Sensor.sen_table[i] >> 0) & 0xff;
			WriteBuf_sen[y++] = (LF_Sensor.sen_table[i] >> 8) & 0xff;
			WriteBuf_sen[y++] = (RF_Sensor.sen_table[i] >> 0) & 0xff;
			WriteBuf_sen[y++] = (RF_Sensor.sen_table[i] >> 8) & 0xff;
		}
	
		SpiWriteRom( SENSOR_SECTION_ADDRESS, 0, 72, WriteBuf_sen );
		
}*/

/*
void Sensor_Read_Rom()
{
	Uint16 i,y = 0;
	Uint16 ReadBuf_sen[72];

		SpiReadRom(SENSOR_SECTION_ADDRESS, 0, 72, ReadBuf_sen);
	
		for(i = 0,y = 0; i < 9; i++)
		{
			L_Sensor.sen_table[i] =   ((ReadBuf_sen[y++] & 0xff) << 0);
			L_Sensor.sen_table[i] |= ((ReadBuf_sen[y++] & 0xff) << 8);
			
			R_Sensor.sen_table[i] =   ((ReadBuf_sen[y++] & 0xff) << 0);
			R_Sensor.sen_table[i] |= ((ReadBuf_sen[y++] & 0xff) << 8);		
			
			LF_Sensor.sen_table[i] =   ((ReadBuf_sen[y++] & 0xff) << 0);
			LF_Sensor.sen_table[i] |= ((ReadBuf_sen[y++] & 0xff) << 8);		
			
			RF_Sensor.sen_table[i] =   ((ReadBuf_sen[y++] & 0xff) << 0);
			RF_Sensor.sen_table[i] |= ((ReadBuf_sen[y++] & 0xff) << 8);		
		}
}
*/
